package com.broadengate.dao.impl;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.broadengate.dao.CustomerDao;
import com.broadengate.model.Customer;

/******
 * 提供币种与数据库的交互方法
 * 方法主要有findCurrencyByName()从币种名得到币种对象
 */
public class CustomerDaoImpl extends HibernateDaoSupport implements CustomerDao {
	public void add(Customer customer) {
		getHibernateTemplate().save(customer);
	}
}
